package pe.com.rimac.portal.util.url;

public class UrlType 
{
    public static final UrlType ACTION = new UrlType("Action");
    public static final UrlType RENDER = new UrlType("Render");
    
    private String type;
    
    private UrlType(String type)
    {
        this.type = type;
    }
    
    public boolean equals(Object o)
    {
        if (!(o instanceof UrlType))
        {
            return false;
        }
        UrlType that = (UrlType) o;
        return (this.type.equals(that.type));
    }
    
    public String toString()
    {
        return "UrlType:" + type;
    }
}